package cn.edu.sjtu.message_management.model;

import lombok.Builder;
import lombok.Data;
import lombok.experimental.Tolerate;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@Builder
public class User {
    @NotNull
    private String userId;
    @NotBlank
    private String username;

    @Tolerate
    User() {

    }
}
